package com.fowo.api.costAccounting.model.cost;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/** 成本配置 导入导出辅助模型 */
@Data
public class CostConfigExcelPo {

  @Size(max = 50, message = "模板名称长度不能超过20")
  @ExcelProperty(value = "模板名称")
  private String name;

  @Size(max = 500, message = "配置说明备注长度不能超过20")
  @ExcelProperty(value = "配置说明备注")
  private String remarks;

  @ExcelProperty(value = "模板编号")
  private String serialNumber;

  @Size(max = 5000, message = "入库查询sq长度不能超过20")
  @ExcelProperty(value = "入库查询sq")
  private String selectSql;

  @ExcelProperty(value = "维度类型")
  private Integer type;
}
